home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Utilities Experience
/
The Utilities Experience - Volume 1.iso
/
software
/
graphics
/
n-z
/
raystorexa
/
arexx
/
fog1.ray
< prev
next >
Wrap
Text File
|
1995-10-21
|
999b
|
59 lines
/***************
* NAME: fog1.ray
* VERSION: 1.0 21.08.1995
* DESCRIPTION: Test of fog
* AUTHORS: Andreas Heumann
* BUGS: none
* TO DO: none
* HISTORY:
* DATE NAME COMMENT
* 21.08.95 ah initial release
***************/
signal on error
options results
IF ~show('P','RAYSTORM') THEN DO
address COMMAND 'run >NIL: <NIL: /RayStorm'
address COMMAND WaitForPort RAYSTORM
END
address RAYSTORM
'TEXTUREPATH /textures'
'SETSCREEN 160 128'
'SETCAMERA <0,0,-75> <0,0,0> <0,1,0> 25 20'
'SETWORLD [0,0,0] [0,0,0] FOGLEN=60 FOGHEIGHT=10'
'POINTLIGHT <20,20,-40>'
'NEWSURFACE RED'
'DIFFUSE [255,0,0]'
'NEWSURFACE GREEN'
'DIFFUSE [0,255,0]'
'NEWSURFACE BLUE'
'DIFFUSE [0,0,255]'
'SPHERE RED <5,0,0> 3'
'SPHERE BLUE <10,5,50> 4'
'SPHERE RED <10,0,10> 4'
'SPHERE GREEN <-10,-5,80> 5'
'SPHERE BLUE <-5,0,40> 6'
'STARTRENDER'
'SAVEPIC fog1.iff'
'CLEANUP'
exit 0
error:
say "Error" rc "in line" sigl ":"
GETERRORSTR rc
say result
exit 0